package com.atstudy.entites;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/2/8 11:10
 * @copyright: 博为峰
 */
//@NoArgsConstructor
//@AllArgsConstructor
//@Data
//@ToString
public class Cla {
    private int id;
    private String name;
    private int num;
    private List<Student> studentList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    @Override
    public String toString() {
        return "Cla{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", num=" + num +
                ", studentList=" + studentList +
                '}';
    }
}
